package com.yiyahui.project.erp.service;

import java.util.List;
import com.yiyahui.project.erp.domain.YiyaVisitTc;
import com.yiyahui.project.erp.domain.requestVo.YiyaVisitTcRequest;

/**
 * tc回访Service接口
 * 
 * @author yiyahui
 * @date 2020-05-08
 */
public interface IYiyaVisitTcService 
{
    /**
     * 查询tc回访
     * 
     * @param id tc回访ID
     * @return tc回访
     */
    public YiyaVisitTc selectYiyaVisitTcById(Long id);

    /**
     * 查询tc回访列表
     * 
     * @param yiyaVisitTcRequest tc回访
     * @return tc回访集合
     */
    public List<YiyaVisitTc> selectYiyaVisitTcList(YiyaVisitTcRequest yiyaVisitTcRequest);

    /**
     * 新增tc回访
     * 
     * @param yiyaVisitTc tc回访
     * @return 结果
     */
    public int insertYiyaVisitTc(YiyaVisitTc yiyaVisitTc);

    /**
     * 修改tc回访
     * 
     * @param yiyaVisitTc tc回访
     * @return 结果
     */
    public int updateYiyaVisitTc(YiyaVisitTc yiyaVisitTc);

    /**
     * 批量删除tc回访
     * 
     * @param ids 需要删除的tc回访ID
     * @return 结果
     */
    public int deleteYiyaVisitTcByIds(Long[] ids);

    /**
     * 删除tc回访信息
     * 
     * @param id tc回访ID
     * @return 结果
     */
    public int deleteYiyaVisitTcById(Long id);
}
